
   <html>
   <head>
   <style type=text/css>
   body { font-size: 10pt; font-family: Arial; }
   </style>
   </head>
   <body>
   
</br>
<font color="darkred">#include</font>&nbsp;&lt;stdio.h&gt;</br>
<font color="darkred">#include</font>&nbsp;&lt;stdlib.h&gt;</br>
<font color="darkred">#include</font>&nbsp;&lt;string.h&gt;</br>
<font color="darkred">#include</font>&nbsp;&lt;ds/hashtable.h&gt;</br>
</br>
</br>
</br>
void&nbsp;add_elements(void&nbsp;*hashtable_<font color="darkgreen">int</font>,&nbsp;<font color="darkgreen">int</font>&nbsp;tablesize)</br>
{</br>
&nbsp;&nbsp;&nbsp;HASHTABLE_PTR(ht,&nbsp;tablesize,&nbsp;<font color="darkgreen">int</font>);</br>
&nbsp;&nbsp;&nbsp;ht&nbsp;=&nbsp;hashtable_<font color="darkgreen">int</font>;</br>
&nbsp;&nbsp;&nbsp;pr<font color="darkgreen">int</font>f("%d\n",&nbsp;ht-&gt;size);</br>
</br>
&nbsp;&nbsp;&nbsp;HASHTABLE_SET(ht,&nbsp;"Primer&nbsp;Elemento",&nbsp;103);</br>
&nbsp;&nbsp;&nbsp;HASHTABLE_SET(ht,&nbsp;"Segundo&nbsp;Elemento",&nbsp;107);</br>
}</br>
</br>
</br>
<font color="darkgreen">int</font>&nbsp;main()</br>
{</br>
&nbsp;&nbsp;&nbsp;<font color="darkgreen">int</font>&nbsp;value;</br>
</br>
&nbsp;&nbsp;&nbsp;HASHTABLE_CREATE(hashtable,&nbsp;50,&nbsp;<font color="darkgreen">int</font>);</br>
</br>
&nbsp;&nbsp;&nbsp;HASHTABLE_SET(hashtable,&nbsp;"Primer&nbsp;Elemento",&nbsp;23);</br>
&nbsp;&nbsp;&nbsp;HASHTABLE_SET(hashtable,&nbsp;"Segundo&nbsp;Elemento",&nbsp;37);</br>
</br>
&nbsp;&nbsp;&nbsp;add_elements(hashtable,&nbsp;hashtable-&gt;size);</br>
</br>
&nbsp;&nbsp;&nbsp;HASHTABLE_SET(hashtable,&nbsp;"Segundo&nbsp;Elemento",&nbsp;3);</br>
</br>
&nbsp;&nbsp;&nbsp;HASHTABLE_GET(hashtable,&nbsp;"Primer&nbsp;Elemento",&nbsp;value);</br>
&nbsp;&nbsp;&nbsp;pr<font color="darkgreen">int</font>f("value:&nbsp;%d\n",&nbsp;value);</br>
</br>
&nbsp;&nbsp;&nbsp;HASHTABLE_GET(hashtable,&nbsp;"Segundo&nbsp;Elemento",&nbsp;value);</br>
&nbsp;&nbsp;&nbsp;pr<font color="darkgreen">int</font>f("value:&nbsp;%d\n",&nbsp;value);</br>
</br>
&nbsp;&nbsp;&nbsp;HASHTABLE_DESTROY(hashtable);</br>
</br>
&nbsp;&nbsp;&nbsp;<font color="#6d4d00">return</font>&nbsp;0;</br>
}</br>
</br>
</br>
</br>
</br>
</body></html>
